package com.nexgo.payment.trans.preauthcomvoid;

import com.nexgo.payment.BaseTransPresenter;
import com.nexgo.payment.BaseTransView;

/**预授权完成撤销
 *
 * Created by wanghongyang on 2017/8/24.
 */
public interface PreAuthComVoidContract {
    interface View extends BaseTransView<Presenter> {

        /**
         * 输入主管密码
         */
        void showInputAdminPassword();

        /**
         * 输入流水号
         */
        void showInputTraceNum();

        /**
         * 确认交易详情
         */
        void showConfirmTransDetail(String traceNum);

    }

    interface Presenter extends BaseTransPresenter {

        /**
         * 检测卡号是否与原消费交易的卡号一致
         *
         * @param cardNo  卡号
         * @return
         */
        boolean checkOrigCardNo(String cardNo);
    }
}
